{{ form_errors(elem) }}
<div class="form-horizontal">
    <div class="form-group">
        {{ form_label(elem, null, {'label_attr': {'class': 'col-sm-3 control-label'}}) }}
        <div class="col-sm-7">
            {{ form_widget(elem) }}
        </div>
    </div>
</div>